Skip to content

Introduce bindings for SceneCheck#508

Merged
fredroy merged 1 commit intosofa-framework:masterfrom
alxbilger:scenecheck
Jul 9, 2025
Merged

Introduce bindings for SceneCheck#508
fredroy merged 1 commit intosofa-framework:masterfrom
alxbilger:scenecheck

Conversation

@alxbilger
Copy link
Contributor

It allows:

SofaRuntime.importPlugin("SceneChecking")

for scene_check in Sofa.Simulation.SceneCheckMainRegistry.getRegisteredSceneChecks():
    print(f"{scene_check.getName()}: {scene_check.getDesc()}")

Result:

SceneCheckCollisionResponse: Check that the appropriate components are in the scene to compute the desired collision response
SceneCheckDeprecatedComponents: Check there is not deprecated components in the scenegraph
SceneCheckDuplicatedName: Check there is not duplicated name in the scenegraph
SceneCheckEmptyNodeName: Check if a Node has an empty name.
SceneCheckMissingRequiredPlugin: Check for each component provided by a plugin that the corresponding <RequiredPlugin> directive is present in the scene
SceneCheckUsingAlias: Check if a Component has been created using an Alias.

It's not yet possible to call the validation due to limitations in SOFA.

@fredroy fredroy merged commit 5ae42ed into sofa-framework:master Jul 9, 2025
3 checks passed
RafaelPalomar pushed a commit to Slicer/SofaPython3 that referenced this pull request Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants